package com.xc.quickstart.common.constant;

import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.Map;

/**
 * @Description:
 * @create 2019/7/3 22:27
 */
public class MapConstant {

    public static final Map<Integer, String> BROADCAST_MAP = new HashMap() {{
        put(1, "开团啦~");
        put(2, "拜访了客户");
        put(3, "获得一个意向客户");
        put(4, "签到成功");
    }};

    public static final Map<Integer, String> BUSINESS_TYPE_MAP = new HashMap() {{
        put(0, "未知");
        put(1, "待开团通知");
        put(2, "开团通知");
        put(3, "解约/注销通知");
        put(4, "预警通知");
    }};

    public static final Map<Integer, String> MESSAGE_BUSINESS_MAP = new HashMap() {{
        put(1, "您有新的待开团团长，请尽快处理。");
        put(2, "有新团长成功开团啦！去看看吧！");
        put(3, "有团长解约/注销了，试着联系一下吧！");
        put(4, "频繁查看团长手机号，请重点关注！");
    }};

    public static final Map<Integer, String> SYSTEM_MESSAGE_MAP = new HashMap() {{
        put(1, "您有新的待开团团长，请尽快处理。");//待开团通知
        put(2, "%s_%s_%s_团长审核通过，已开团");//开团通知(团长的姓名、编号、自提点名称)
        put(3, "%s_%s_%s_%s");//解约/注销通知(团长的姓名、编号、自提点名称、解约类型及详情)
        put(4, "%s_%s_%s_当日查看达%s人，请重点关注。");//预警通知(所在部门-市场经理名字、工号)
    }};

    public static final Map<Integer, String> REFUND_REASON_MAP = new HashMap() {{
        put(1, "质量问题");
        put(2, "漏货");
        put(3, "不想买了");
        put(4, "其他");
        put(5, "仓库缺货");
    }};

    public static final Map<Integer, String> REFUND_STATES_MAP = new HashMap() {{
        put(0, "未售后");
        put(1, "部分售后中");
        put(2, "全部售后中");
        put(3, "部分售后完成");
        put(4, "全部售后完成");
    }};

    public static final Map<Integer, String> ORDER_STATUS_DESC_MAP = new HashMap() {{
        put(0, "待付款");
        put(1, "待发货");
        put(3, "已取消");
        put(4, "已完成");
        put(6, "已发货");
        put(7, "部分发货");
        put(10, "售后中");
        put(11, "待买家审核");
        put(12, "待打款");
        put(13, "售后处理完成");
        put(14, "售后失败");
        put(21, "待成'");
        put(22, "已成团待发货");
        put(24, "拼团失败已退款");
        put(31, "售后待团长审批");
        put(32, "售后团长审批未通过");

        put(33, "待买家收货");
        put(34, "部分收货");
        put(35, "交易完成");
        put(36, "交易关闭");
    }};


    public static final Map<Integer, String> ISEND_MAP = new HashMap() {{
        put(0, "未发货");
        put(1, "已发货");
        put(2, "申请售后中");
        put(3, "已售后退款完成");
        put(4, "卖家不同意售后");
        put(11, "未成团不发货");
    }};

    public static final LinkedHashMap<String, Integer> ORDERLIST_EXCEL_HEAD_LINKEDMAP = new LinkedHashMap() {{
        put("取货编号", 15);
        put("客户姓名", 15);
        put("客户手机", 15);
        put("取货点", 40);
        put("名称", 45);
        put("规格", 30);
        put("数量", 10);
        put("退款数量", 10);
        put("发货状态", 15);
        put("订单号", 20);
        put("下单时间", 15);
        put("单价", 15);
        put("退款金额", 15);
        put("用户备注", 30);
    }};

    public static final Map<Integer, String> CONFIG_MCHID = new HashMap() {{
        put(6001, "youxian");
        put(8001, "jielong");
        put(9001, "kaola");
    }};

    public static final Map<Integer, String> CONFIG_MCHID_NAME = new HashMap() {{
        put(6001, "同程优鲜");
        put(8001, "同程接龙");
        put(9001, "考拉精选");
    }};

    public static final Map<Integer, Integer> CONVERSION_PICKUP_SHOP_TYPE = new HashMap() {{
        put(1, 7);
        put(2, 20);
        put(3, 3);
        put(4, 21);
        put(5, 14);
        put(6, 22);
        put(7, 23);
        put(8, 11);
    }};

    public static final Map<Integer, Integer> REGION_CODE_MAP = new HashMap() {{
        put(340281, 340225);
        put(441900, 441901);
    }};
}
